﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HySoft.Cash.Structure
{
	public class TcapitalFlowingDT
	{
        private Guid id;
        private int orgid;
        private int direction;
        private decimal principal;
        private decimal interest;
        private decimal penalty;
        private decimal lateinterestcharges;
        private decimal total;
        private string memo;
        private DateTime transdate;
        private int transoperater;
        private decimal other1;
        private decimal other2;
        private string other3;
        private string other4;

        /// <summary>
        /// 
        /// </summary>
        public Guid ID
        {
            set { id = value; }
            get { return id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int OrgID
        {
            set { orgid = value; }
            get { return orgid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Direction
        {
            set { direction = value; }
            get { return direction; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal Principal
        {
            set { principal = value; }
            get { return principal; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal Interest
        {
            set { interest = value; }
            get { return interest; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal Penalty
        {
            set { penalty = value; }
            get { return penalty; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal LateInterestCharges
        {
            set { lateinterestcharges = value; }
            get { return lateinterestcharges; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal Total
        {
            set { total = value; }
            get { return total; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Memo
        {
            set { memo = value; }
            get { return memo; }
        }
        /// <summary>
        /// 
        /// </summary>
        public System.DateTime TransDate
        {
            set { transdate = value; }
            get { return transdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int TransOperater
        {
            set { transoperater = value; }
            get { return transoperater; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal Other1
        {
            set { other1 = value; }
            get { return other1; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal Other2
        {
            set { other2 = value; }
            get { return other2; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Other3
        {
            set { other3 = value; }
            get { return other3; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Other4
        {
            set { other4 = value; }
            get { return other4; }
        }
	}

    public enum CapitalFlowingDirections
    { 
        Pay=0, //付款
        Receive=1,//收款
        Other=2,//比如罚款等
    }
}

